package com.agnes.okhttp.lib.entity.standard;

import com.google.gson.annotations.SerializedName;
import com.agnes.okhttp.lib.entity.BaseRespEntity;

import java.util.List;

public class CommonListEntity<T> extends BaseRespEntity {

    @SerializedName(value = "data",
            alternate = {"Data", "realTimeRankList", "Result"}
    )
    private List<T> data;

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
